package com.itheima.blog.web.service;

import com.itheima.blog.web.domain.po.TBlog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.blog.web.domain.query.BlogPageQuery;
import com.itheima.common.domain.PageResDto;

/**
 * <p>
 * 博客文章表 服务类
 * </p>
 *
 * @author sxm
 * @since 2023-07-11
 */
public interface ITBlogService extends IService<TBlog> {
    //分页查询
    PageResDto getBlogPages(BlogPageQuery blogPageQuery);

    boolean removeBlodById(Long blogId);

    boolean changeBlogComment(TBlog comment);

    boolean chengePublish(TBlog tBlog);
}
